

package main

import (
	"reflect"
	"unsafe"
	"fmt"
)

const max = uint(0)  // 64 位
const int_num =1232 // int也是64位
const num32 = int32(111)
func main()  {
	fmt.Println(reflect.TypeOf(max))
	fmt.Println(unsafe.Sizeof(max))
	fmt.Println(unsafe.Sizeof(num32))
	fmt.Println(unsafe.Sizeof(int_num))
	fmt.Println(max)
	fmt.Println(^max)
	fmt.Println(res())
	// 移位
	var n32 int32=1<<31-1
	var num32 int32=964632435
	
	
	n322:= n32 + n32
	fmt.Println(n322)
	// 10倍后溢出
	fmt.Println(num32*3)
}
func res() []int{
	return []int{12,2}
}